package com.xu.design.demo;

import java.util.concurrent.TimeUnit;

/**
 *
 * @author xudenghui
 * @create 2023-07-31 15:47
 **/
public interface CacheService {

    String get(final String key);

    void set(String key, String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);

}
